package com.star.sync.elasticsearch.model;


import com.ecarx.common.base.BaseObject;
import org.apache.commons.lang3.StringUtils;
import org.elasticsearch.search.sort.SortOrder;
//import org.springframework.data.annotation.Id;
//import org.springframework.data.elasticsearch.annotations.Document;
//import org.springframework.data.elasticsearch.annotations.Field;
//import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;

//@Document(indexName = "tsp-device-platform", type = "ecarx_vehicle_status")
public class EcarxVehicleStatusDTO extends BaseObject {
    /**
     * id
     */
    //@Id
    private Long id;
    /**
     * TBOX识别码
     */
    //@Field(type = FieldType.Text)
    private String tboxId;
    /**
     * 车辆状态模块代码
     */
   // @Field(type = FieldType.Text)
    private String target;
    /**
     * 车辆状态配置代码
     */
   // @Field(type = FieldType.Text)
    private String vehicleStatusKey;
    /**
     * 车辆状态配置值
     */
    //@Field(type = FieldType.Text)
    private String vehicleStatusValue;
    /**
     * 配置同步时间
     */
    //@Field(type = FieldType.Date)
    private Date sysTime;
    /**
     * 配置状态 Y 有效，N 无效
     */
   // @Field(type = FieldType.Text)
    private String status;
    /**
     * gmt_create
     */
   // @Field(type = FieldType.Date)
    private Date gmtCreate;
    /**
     * gmt_modified
     */
   // @Field(type = FieldType.Date)
    private Date gmtModified;


    /**
     * 当前页数
     */
    private Integer currentPage;

    /**
     * 每页记录数
     */
    private Integer pageSize;

    /**
     * 时间排序
     */
    private SortOrder gmtCreateOrder;


    private String beginDate;

    private String endDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTboxId() {
        return StringUtils.trim(tboxId);
    }

    public void setTboxId(String tboxId) {
        this.tboxId = StringUtils.trim(tboxId);
    }

    public String getTarget() {
        return StringUtils.trim(target);
    }

    public void setTarget(String target) {
        this.target = StringUtils.trim(target);
    }

    public String getVehicleStatusKey() {
        return StringUtils.trim(vehicleStatusKey);
    }

    public void setVehicleStatusKey(String vehicleStatusKey) {
        this.vehicleStatusKey = StringUtils.trim(vehicleStatusKey);
    }

    public String getVehicleStatusValue() {
        return StringUtils.trim(vehicleStatusValue);
    }

    public void setVehicleStatusValue(String vehicleStatusValue) {
        this.vehicleStatusValue = StringUtils.trim(vehicleStatusValue);
    }

    public Date getSysTime() {
        return sysTime;
    }

    public void setSysTime(Date sysTime) {
        this.sysTime = sysTime;
    }

    public String getStatus() {
        return StringUtils.trim(status);
    }

    public void setStatus(String status) {
        this.status = StringUtils.trim(status);
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public SortOrder getGmtCreateOrder() {
        return gmtCreateOrder;
    }

    public void setGmtCreateOrder(SortOrder gmtCreateOrder) {
        this.gmtCreateOrder = gmtCreateOrder;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }
}
